﻿using Nantianmen.Domain.Models;
using Nantianmen.Shared;

namespace Nantianmen.Core.Services
{
    public interface IRouteService
    {
        Task<NantianmenResult> CreateAsync(Route route);
        Task<Route?> FindByIdAsync(string routeId);
        Task<List<Route>> ListRoutesAsync();
        Task<NantianmenResult> RemoveAsync(string routeId);
        Task<NantianmenResult> UpdateAsync(Route route);
    }
}